* {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    box-sizing: border-box;
}

body {
    height: 100%;
}

#app {
    font-family: 'Microsoft YaHe', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #212121;
    height: 100%;
    background: rgba(245, 245, 245, 1);
    overflow: hidden;
}

h6 {
    margin: 0;
}

input {
    outline: none;
    border: none;
    font-size: 14px;
    padding-left: 16px;
    color: #2f2f2f;
}

button {
    outline: none;
    border: none;
}

p {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    text-decoration: none;
}


/* vant */

// 下边框
[class*=van-hairline]::after {
    border-color: #ddd !important;
}

// 头部返回导航
.van-nav-bar {
    width: 100%;
    // 返回按钮
    .van-icon-down::before {
        transform: rotateZ(90deg);
        color: #323233;
    }
}

// 滚动高度
.public-scroll {
    height: calc(100% - 64px);
    overflow: hidden;
}

// 弹窗
.van-toast {
    width: 120px !important;
    min-height: 120px !important;
}

.van-search {
    position: relative;
    z-index: 9999;
}


/*fade-transform*/

.fade-transform-leave-active,
.fade-transform-enter-active {
    transition: all 0.5s;
}

.fade-transform-enter {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-transform-leave-to {
    opacity: 0;
    transform: translateX(30px);
}